<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp"%>
<bsl:layout-render name="/WEB-INF/jsp/common/layout.jsp">
<bsl:layout-component name="html-head">
	<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-41141994-1', 'windywarm.com');
  ga('send', 'pageview');

</script>

</bsl:layout-component>
<bsl:layout-component name="title">
Gas Cans - ${curDivision.divNameEn}
</bsl:layout-component>
<bsl:layout-component name="content" >
<c:set var="contextPath" value="<%=request.getContextPath()%>"></c:set>
<c:set value="gas-cans" var="urlPrefix"></c:set>		
	
	<div class="potal_title_div">
				<div style="float:left;font: 12px/38px Verdana,microsoft yahei,Arial;padding-left:32px;color:#505050;">
					<a href="${contextPath}/urlPrefix/viewHome">Home</a> &gt; <a href="${contextPath}/${urlPrefix }/viewEnquiryList">Enquiries</a> &gt; ${enquiry.preName}&nbsp; ${enquiry.customerName}
				</div>
					
	</div>
	
	
<div class="details_content">

 <div class="details_content_txt" >
	<table style="border: 1px solid rgb(179, 179, 179);margin: 12px;min-width: 500px;">
	<tr>
		
		<td>
			<div style="background:#f3f3f3;height:22px;padding:4px 0 0 5px;">
			Received Time
			</div>
			<div style="padding: 4px;">
				<jsp:include page="../common/timeFormatCommon.jsp">
				<jsp:param value="${enquiry.createTime.time}" name="time"/>
				<jsp:param value="${enquiry.createTime.year}" name="year"/>
				<jsp:param value="${enquiry.createTime.month}" name="month"/>
				<jsp:param value="${enquiry.createTime.day}" name="day"/>
				<jsp:param value="${enquiry.createTime.hours}" name="hours"/>
				<jsp:param value="${enquiry.createTime.minutes}" name="minutes"/>
				<jsp:param value="${enquiry.createTime.date}" name="date"/>
				</jsp:include>
			</div>
			
		</td>
	</tr>
	<tr>
		<td>
			
			<div style="background:#f3f3f3;height:22px;padding:4px 0 0 5px;">
			Details of Buying Requirements.
			</div>
			
		<table width="100%" border="0" cellpadding="0" cellspacing="0" align="CENTER" bgcolor="#f9f9f9" >
			<c:if test="${not empty enquiry.article}">
				<tr>
					<td style="padding: 4px;" >
						${enquiry.article.title }
					</td>
					
					<c:if test="${not empty enquiry.article.album}">
						<td>
							<img alt="" src="${contextPath}/${enquiry.article.album.coverPhoto.thumbnailSmall}">
						</td>
					</c:if>
					
				</tr>
				<tr>
					<td colspan="2"><hr></hr></td>
				</tr>
				
			</c:if>
			
			<tr>
				<td colspan="2" style="padding: 4px;">
					${enquiry.content }
				</td>
			</tr>
			<tr>
				<td colspan="2">
                	  <div style="background:#f3f3f3;height:22px;padding:4px 0 0 5px;">Customer Contact Information</div>
				</td>
			</tr>
			 <tr>
			 	<td width="100px;" style="padding: 4px;">
			 		<label class="control-label">Name:</label>
			 	</td>
			 	<td>
			 		<div style="vertical-align: middle; margin-top: 5px;">
					${enquiry.preName}&nbsp;${enquiry.customerName}	
					</div>
				</td>
			</tr>
			<tr>
				<td style="padding: 4px;">
					<label class="control-label">Email:</label>
				</td>
				<td>
					${enquiry.email}
				</td>
			</tr>
			<tr>
				<td style="padding: 4px;">
					<label class="control-label">Company:</label>
				</td>
				<td>
					${enquiry.company}
				</td>
			</tr>
			<tr>
				<td style="padding: 4px;">
					<label class="control-label">Website:</label>
				</td>
				<td>
					${enquiry.website}
				</td>
			</tr>
			<tr>
				<td style="padding: 4px;">
					<label class="control-label">Address:</label>
				</td>
				<td>
					${enquiry.address}
				</td>
			</tr>
			
		</table> 
		</td>
	</tr>
</table>		   
</div>
</div>
	


</bsl:layout-component>

<bsl:layout-component name="side_info">

	<jsp:include page="prodCateInfo.jsp">
		<jsp:param value="${productDiv}" name="productDiv"/>
 		<jsp:param value="${curCategory}" name="curCategory"/>
   	</jsp:include>
	
		<jsp:include page="contactInfo.jsp">
		<jsp:param value="null" name="null"/>
   	</jsp:include>
	
</bsl:layout-component>


</bsl:layout-render>